package com.tj.bo.account.server.entity;
import com.fqgj.common.entity.BaseEntity;

import java.math.BigDecimal;
/**
* User: xulin
* Date: 2020-08-21
* Time: 17:17:49.035
* TableDesc:账号流水
*/
public class AccountFlowEntity extends BaseEntity{
    /**
    *账号流水号
    */
    private String accountFlowNo;
    /**
    *业务订单号
    */
    private String orderNo;
    /**
    *账号
    */
    private String accountNo;
    /**
    *用户码
    */
    private String userCode;
    /**
    *类型 出账 入账 冻结
    */
    private String type;
    /**
    *子类型  充值 提现 交易买入 交易结算 增金 冻结
    */
    private String subType;
    /**
    *金额
    */
    private BigDecimal amount;
    /**
    *金额类型 0：非赠送金额 1：赠送金额（奖励金等）
    */
    private Integer amountType;
    /**
    *余额
    */
    private BigDecimal balance;


    public  String getAccountFlowNo(){
        return this.accountFlowNo;
    }

    public  AccountFlowEntity setAccountFlowNo(String accountFlowNo){
        this.accountFlowNo = accountFlowNo;
        return this;
    }

    public  String getOrderNo(){
        return this.orderNo;
    }

    public  AccountFlowEntity setOrderNo(String orderNo){
        this.orderNo = orderNo;
        return this;
    }

    public  String getAccountNo(){
        return this.accountNo;
    }

    public  AccountFlowEntity setAccountNo(String accountNo){
        this.accountNo = accountNo;
        return this;
    }

    public  String getUserCode(){
        return this.userCode;
    }

    public  AccountFlowEntity setUserCode(String userCode){
        this.userCode = userCode;
        return this;
    }

    public  String getType(){
        return this.type;
    }

    public  AccountFlowEntity setType(String type){
        this.type = type;
        return this;
    }

    public  String getSubType(){
        return this.subType;
    }

    public  AccountFlowEntity setSubType(String subType){
        this.subType = subType;
        return this;
    }

    public  BigDecimal getAmount(){
        return this.amount;
    }

    public  AccountFlowEntity setAmount(BigDecimal amount){
        this.amount = amount;
        return this;
    }

    public  Integer getAmountType(){
        return this.amountType;
    }

    public  AccountFlowEntity setAmountType(Integer amountType){
        this.amountType = amountType;
        return this;
    }

    public  BigDecimal getBalance(){
        return this.balance;
    }

    public  AccountFlowEntity setBalance(BigDecimal balance){
        this.balance = balance;
        return this;
    }
}
